package com.bluesky.jwf.component.window;

import java.util.HashMap;
import java.util.Map;

import com.bluesky.javawebbrowser.domain.html.tags.Tag;

public class MainWindow extends Window {
	/**
	 * main window can has the parameters from uri
	 */
	protected Map<String, String> parameters;

	public MainWindow() {

		parameters = new HashMap<String, String>();
	}

	@Override
	public void init(String html) {

		super.init(html);

		//main window is headless.
		head.detach();
	}

	public Map<String, String> getParameters() {
		return parameters;
	}

	public void setParameters(Map<String, String> parameters) {

		this.parameters = parameters;
	}

}
